package xuesm.strategy.pay;

/**
 * @Author: xuesm
 * @Description: 支付状态包装类
 * @Date: Create in 19:55 2019/4/12
 */
public class PayState {

	private int code;
	private Object data;
	private String msg;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public PayState(int code, String msg, Object data) {
		this.code = code;
		this.data = data;
		this.msg = msg;
	}

	@Override
	public String toString() {
		return ("支付状态【" + code + "】," + msg + ", 交易详情：" + data);
	}
}
